﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shakes_and_Fidget___Charplaner.Classes
{
	public class Attribute
	{
		public Enums.Stat stat { get; set; }
		public int value { get; set; }
		public int duration { get; set; }

		public Attribute(Enums.Stat stat, int value = 0, int duration = 0)
		{
			this.stat = stat;
			this.value = value;
			this.duration = duration;
		}
		public Attribute()
		{ }
		public string GetName()
		{
			switch (stat)
			{
				case Enums.Stat.NULL:
					return "";
				case Enums.Stat.STRENGTH:
					return "Stärke";
				case Enums.Stat.DEXTERITY:
					return "Geschicklichkeit";
				case Enums.Stat.INTELLIGENCE:
					return "Intelligenz";
				case Enums.Stat.STAMINA:
					return "Ausdauer";
				case Enums.Stat.LUCK:
					return "Glück";
				case Enums.Stat.ALLSTATS:
					return "Alle Attribute";
				case Enums.Stat.DUARTION:
					return "Dauer";
				case Enums.Stat.LIFE:
					return "Lebensenergie";
				default:
					return "";
			}
		}

	}
}
